home *** CD-ROM | disk | FTP | other *** search
- Path: IC1SS02.SETTIMO.ITALTEL.IT!caloni
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Newsgroups: comp.dcom.modems
- Message-ID: <9602281302.AA14838@ic1ss02.settimo.italtel.it.settimo.italtel.it>
- Date: Wed, 28 Feb 1996 13:02:46 GMT
- Reply-To: Franco Caloni <caloni@IC1SS02.SETTIMO.ITALTEL.IT>
- Sender: MODEMS-L Mailing List <MODEMS-L@VM.ITS.RPI.EDU>
- From: Franco Caloni <caloni@IC1SS02.SETTIMO.ITALTEL.IT>
- Subject: data lost during transfer
-
- Hi everyone,
-
- A friend tell me about this mailing-list, I have some problems and
- I hope this is the right mailing-list where looking for help.
- I'm writing an application with FoxPro for Win 2.5 that transfer an
- ASCII file from a PC to another one by two modems on telephone line
- (not direct connect).
- I tell you first the problem and after PC configuration ecc..
-
- The problem is that the receiving PC does not receive all data, I think
- there is a data lost during transfer. One PC send data, but the other
- when has received about 10k bytes it doesn't receive anymore data.
-
- If I use my PCs (a Pentium 120 with 32Mb RAM for receive, and a 486DX4
- 120Mhz PCI 16Mb RAM for transmit with 2 internal modems 28800) there
- are no problem, I transfer 100k bytes, but when I use the same
- PC (486DX4) for send data and a 486SX 33Mhz 8Mb RAM (or 486DX) with
- an 14400 internal modem as receiver I have the problem.
-
- My commucation software:
- ------------------------
- The two programs are written in FoxPro for Win 2.5 and use API
- (opencomm, writecomm, ecc.) for communicate with serial port, the
- sending one reads 1 char (byte) from ASCII file at a time then send
- it to the port, the receive one does the same thing reading (I've done
- a loop which continuosly read 1 byte from port then write it to an
- ASCII file when it is not null). It's a stupid code (pheraps too
- much stupid). (If someone know Fox I can send the code for an exam).
- Programs sets COMs to 19200,n,8,1 define a large receive buffer
- 32768 bytes (on receive PC) and a small one on the sender (512 byte)
-
- Modems configuration:
- ---------------------
- Modems are 14400 internal and MSD tell me they are 16550 UART, have
- data compression and error correction.
- I use this init-string: ATX3L0M0 so I use default modem settings:
- CTS/RTS hardware flow control, data compression and error correction
- MNP5 LAPM V42 (I have tryed to use same two modems too)
-
- What I tryed:
- -------------
- I've tryed (not together): disabling data compression, set both modem
- speed to 1200 baud and COMs to 9600 (and not 14400), setting sender
- COM speed to 1200 and receiver to 19200 (with modems set 1200),
- change buffer size and others I don't remember, but without success.
- The best thing I got is with 14400 connection without data
- compression: I tranferred about 30k but the problem still exists.
-
- I don't hunderstand which is the problem. Keep in mind it's the first
- time I use modems as 'programmer' and not as 'end-user'.
- Perhaps I'm luky when I use Pentium as receiver, if the file to be
- transferred was bigger than 100k I get the same problem (I don't try
- this). Someone tells me the problem is I don't control data transfer
- with my software, they suggest to use Protocols like Z-Modem or other
- but I know they exist but not WHAT are, and how implement in my
- Fox programs (and that person is not modem expert too).
- Finally my Know-How in modem communication is two month read modems
- user's manual where is not so clear my question "how to do a complete
- ASCII transfer file using communication API?" (on slow PC
- like 486SX or 486DX 33Mhz) or what is the problem I got and
- it's solution.
-
- Someone can help me? I'm in big trouble. Thank you very much.
- I know you need more information, I'll be happy to send what you need,
- mail me directly too. (I'm Italian so speak in easy English please)
-
- Franco CALONI
-
- caloni@ic1ss02.settimo.italtel.it
-